package com.ctshk.rpc.order.tour.req;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 系列团游客退团
 * </p>
 *
 * @author 谭响
 * @since 2021-01-28
 */
@Data
@ApiModel(value="系列团游客退团添加Req", description="系列团游客退团添加Req")
public class SeriesOrderTouristQuitAddReq extends PageReq implements Serializable {

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "团期ID")
    private Long scheduleId;

    @NotNull(message = "游客ID不能为空")
    @ApiModelProperty(value = "游客ID",required = true)
    private Long touristId;

    @ApiModelProperty(value = "游客名称")
    private String touristName;

    @NotNull(message = "扣款金额不能为空")
    @ApiModelProperty(value = "扣款金额",required = true)
    private BigDecimal deductionAmount;

    @ApiModelProperty(value = "货币退款金额")
    private BigDecimal currencyRefundAmount;

    @NotNull(message = "货币类型不能为空")
    @ApiModelProperty(value = "货币类型",required = true)
    private String currencyType;

    @NotNull(message = "货币类型主数据ID不能为空")
    @ApiModelProperty(value = "货币类型主数据ID",required = true)
    private Long currencyTypeId;

    @ApiModelProperty(value = "门市兑换率")
    private BigDecimal exchangeRate;

    @NotNull(message = "退款方式主数据ID不能为空")
    @ApiModelProperty(value = "退款方式主数据ID",required = true)
    private Long refundTypeId;

    @NotNull(message = "退款方式不能为空")
    @ApiModelProperty(value = "退款方式",required = true)
    private String refundType;

    @ApiModelProperty(value = "退款账户")
    private String refundAccount;

    @NotNull(message = "退团原因不能为空")
    @ApiModelProperty(value = "退团原因",required = true)
    private String quitReason;

    @NotNull(message = "退团原因ID不能为空")
    @ApiModelProperty(value = "退团原因ID",required = true)
    private Long quitReasonId;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "用户Id")
    private Long userId;
    
}
